﻿using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace DataBase.From {

	[JsonObject(MemberSerialization.OptIn), Table(Name = "t_F7Fiber", DisableSyncStructure = true)]
	public partial class TF7Fiber {

		/// <summary>
		/// 主键唯一标识
		/// </summary>
		[JsonProperty, Column(IsPrimary = true, IsIdentity = true)]
		public long Id { get; set; }

		/// <summary>
		/// 防区二
		/// </summary>
		[JsonProperty, Column(Name = "alarm")]
		public bool? Alarm { get; set; }

		/// <summary>
		/// 防区一
		/// </summary>
		[JsonProperty, Column(Name = "areaNo")]
		public int? AreaNo { get; set; }

		/// <summary>
		/// 数据录入时间
		/// </summary>
		[JsonProperty]
		public DateTime? CreateTime { get; set; }

		/// <summary>
		/// 设备Id十进制形式
		/// </summary>
		[JsonProperty, Column(Name = "deviceId")]
		public long? DeviceId { get; set; }

		/// <summary>
		/// 终端Id
		/// </summary>
		[JsonProperty, Column(StringLength = -2)]
		public string TerminalId { get; set; }

		/// <summary>
		/// 采集时间
		/// </summary>
		[JsonProperty]
		public DateTime? Time { get; set; }

	}

}
